def greet(name, greeting='Hello'):
  return '问候语:{}, 姓名:{}'.format(greeting, name)

print(greet('小王', '你好'))
# 问候语:你好, 姓名:小王

print(greet('Wang'))
# 问候语:Hello, 姓名:Wang